/*!
 * Copyright 2019 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "../styles/colors";


.app-home {

  &-top {
    background: #fff;
  }

  .home-top-bar {
    height: 45px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: $primary-color;

    .home-top-menu {
      color: #fff;
      padding: 0 10px;
    }

    .home-search-bar {
      height: 32px;
      background: #fff;
      width: 100%;
      border-radius: 100px;
      display: flex;
      align-items: center;
      padding-left: 6px;
      color: #b7b7b7;
    }
  }

  .home-top-advertisements {
    padding: 10px;
  }

  .home-top-menus {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-row-gap: 10px;
    padding: 10px 0;

    .menu-item {
      height: 100%;
      width: 100%;

      .menu-icon {
        display: inline-block;
        width: 100%;
        text-align: center;

        img {
          width: 60%;
        }
      }

      .menu-title {
        display: inline-block;
        width: 100%;
        text-align: center;
        color: $sub-color;
        font-size: 12px;
      }
    }
  }
}
